package com.yh.patterns.command.job;

/**
 * @Author:yh
 * @Description:调用者
 */
public class FunctionButton {
    private Command command;

    public void setCommand(Command command) {
        this.command = command;
    }
    public void click(){
        command.execute();
    }
}
